package org.szy.plugin.dev.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Table;
import org.szy.core.common.entity.BaseEntity;
import org.szy.core.common.listener.BaseInsertListener;
import org.szy.core.common.listener.BaseUpdateListener;

/**
 * 开发_文件实体
 *
 * @author wangbuhao
 * @since 2023-06-28 18:17:40
 **/
@Table(value = "dev_file", onInsert = BaseInsertListener.class, onUpdate = BaseUpdateListener.class)
public class DevFile extends BaseEntity {

    /** id */
    /** 关联表名称 */
    private String applyTo;
    /** 关联表标识 */
    private Long refNum;
    /** 类别 */
    private String category;
    /** 文件类型 */
    private String type;
    /** 文件名称 */
    private String name;
    /** 文件原始名称 */
    private String originalName;
    /** 文件后缀 */
    private String suffix;
    /** 文件大小 */
    private String sizeKb;
    /** 文件大小，格式化 */
    private String sizeInfo;
    /** 文件存储路径 */
    private String storagePath;
    /** 文件网络路径 */
    private String networkPath;
    /** 图标 */
    private String icon;
    /** 备注 */
    private String remarks;
    /** 是否删除 */
    @Column(isLogicDelete = true)
    private Integer delFlag;

    public String getApplyTo() {
        return applyTo;
    }
    public void setApplyTo(String applyTo) {
        this.applyTo = applyTo;
    }
    public Long getRefNum() {
        return refNum;
    }
    public void setRefNum(Long refNum) {
        this.refNum = refNum;
    }
    public String getCategory() {
        return category;
    }
    public void setCategory(String category) {
        this.category = category;
    }
    public String getType() {
        return type;
    }
    public void setType(String type) {
        this.type = type;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getOriginalName() {
        return originalName;
    }
    public void setOriginalName(String originalName) {
        this.originalName = originalName;
    }
    public String getSuffix() {
        return suffix;
    }
    public void setSuffix(String suffix) {
        this.suffix = suffix;
    }
    public String getSizeKb() {
        return sizeKb;
    }
    public void setSizeKb(String sizeKb) {
        this.sizeKb = sizeKb;
    }
    public String getSizeInfo() {
        return sizeInfo;
    }
    public void setSizeInfo(String sizeInfo) {
        this.sizeInfo = sizeInfo;
    }
    public String getStoragePath() {
        return storagePath;
    }
    public void setStoragePath(String storagePath) {
        this.storagePath = storagePath;
    }
    public String getNetworkPath() {
        return networkPath;
    }
    public void setNetworkPath(String networkPath) {
        this.networkPath = networkPath;
    }
    public String getIcon() {
        return icon;
    }
    public void setIcon(String icon) {
        this.icon = icon;
    }
    public String getRemarks() {
        return remarks;
    }
    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }
    public Integer getDelFlag() {
        return delFlag;
    }
    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

}
